/**
 * @计算一个字符和一个多项式的值
 *
 * @author	 wangshikun <wangshikun2010@gmail.com>
 * @copyright	(c) 2012 wangshikun <wangshikun2010@gmail.com>
 * @license	http://www.opensource.org/licenses/mit-license.php The MIT License
 * @package	default
 * @subpackage	default
 */

#include <stdio.h>
#include <cs50.h>
#include <stdlib.h>

int main(int argc, char *argv[]) {
	char c, d;
	float x = 2.55;

	c = 'd';
	d = c;
	printf("d=%c\n", d);

	float num = 3 * 2.55 * 3 - 5 * 2.55 * 2 + 6;
	printf("num=%f\n", num);

	float s = (3.31 * 10 - 8 * 2.01 * 10 - 7) / (7.16 * 10 - 6 + 2.01 * 10 - 8);
	printf("s=%e\n", s);

	return 0;
}
